package com.educate.upms.dao;

import com.educate.upms.dao.impl.UpmsUserPermissionDaoImpl;
import com.educate.upms.model.bo.UpmsUserPermissionBO;
import com.educate.upms.model.po.UpmsUserPermission;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UpmsUserPermissionDao extends MongoRepository<UpmsUserPermission, String> {

    /**
     * #{@link UpmsUserPermissionDaoImpl#query(UpmsUserPermissionBO, Pageable)}
     */
    Page<UpmsUserPermission> query(UpmsUserPermissionBO bo, Pageable pageable);
}
